import request from '@/utils/request';

//获取学校分数线
export function getSchoolYearline(data) {
  return request({
    url: '/index/schoolYearline',
    method: 'post',
    data: data,
  });
}

//获取学校详情
export function getSchoolHome(data) {
  return request({
    url: '/index/schoolHome',
    method: 'post',
    data: data,
  });
}

//获取学校专业分数线筛选条件 or 提前批
export function getSchoolPlanFilter(data) {
  return request({
    url: '/index/schoolPlanFilter',
    method: 'post',
    data: data,
  });
}

// 获取专业分数线筛选条件
export function getSchoolScorelineFilter(data) {
  return request({
    url: '/index/schoolScorelineFilter',
    method: 'post',
    data: data,
  });
}

// 获取专业分数线
export function getSchoolScoreline(data) {
  return request({
    url: '/index/schoolScoreline',
    method: 'post',
    data: data,
  });
}

// 提前批接口
export function getSchoolPlan(data) {
  return request({
    url: '/index/schoolPlan',
    method: 'post',
    data: data,
  });
}

// 获取各类描述信息
export function noteDesc(data) {
  return request({
    url: '/index/noteDesc',
    method: 'post',
    data: data,
  });
}

// 各专业招生计划提前批
export function getPreBatchPlan(data) {
  return request({
    // url: '/index/preBatchPlan',
    url: '/index/preBatchPlan_new',
    method: 'post',
    data: data,
  });
}

// 历年录取-提前批--提前批分数线
export function getPreBatchSearch(data) {
  return request({
    url: '/index/preBatchSearch',
    method: 'post',
    data: data,
  });
}
